package com.globalwave.eps.entity;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.List;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

import org.hibernate.annotations.GenericGenerator;

import com.globalwave.base.BaseEntity;

@Entity
@Table(name = "electricity_project")
public class ElectricityProject extends BaseEntity implements Serializable  {

    @Id
    @GeneratedValue(strategy=GenerationType.SEQUENCE, generator="increment")
    @GenericGenerator(name="electricity_project_id_SEQ", strategy = "increment")
    private Long id ;
     private String application_number;
     private Long type_;
     private String pid;
     private Long customer_id;
     private String name_;
     private Long capacitance_amount;
     private Long capacitance_unit;
     private String created_by;
     private Timestamp created_on;
     private String modified_by;
     private Timestamp modified_on;
     private Short status_ ;
     private String contact_person ;
     private String contact_telphone ;
     private String design_file_id ;

     
     @Transient
     private List<ElectricityProjectLine> lines ;
     @Transient
     private String customer_name ;
     
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getApplication_number() {
		return application_number;
	}
	public void setApplication_number(String application_number) {
		this.application_number = application_number;
	}
	public Long getType_() {
		return type_;
	}
	public void setType_(Long type_) {
		this.type_ = type_;
	}
	public String getPid() {
		return pid;
	}
	public void setPid(String pid) {
		this.pid = pid;
	}
	public Long getCustomer_id() {
		return customer_id;
	}
	public void setCustomer_id(Long customer_id) {
		this.customer_id = customer_id;
	}
	public String getName_() {
		return name_;
	}
	public void setName_(String name_) {
		this.name_ = name_;
	}
	public Long getCapacitance_amount() {
		return capacitance_amount;
	}
	public void setCapacitance_amount(Long capacitance_amount) {
		this.capacitance_amount = capacitance_amount;
	}
	public Long getCapacitance_unit() {
		return capacitance_unit;
	}
	public void setCapacitance_unit(Long capacitance_unit) {
		this.capacitance_unit = capacitance_unit;
	}
	public String getCreated_by() {
		return created_by;
	}
	public void setCreated_by(String created_by) {
		this.created_by = created_by;
	}
	public Timestamp getCreated_on() {
		return created_on;
	}
	public void setCreated_on(Timestamp created_on) {
		this.created_on = created_on;
	}
	public String getModified_by() {
		return modified_by;
	}
	public void setModified_by(String modified_by) {
		this.modified_by = modified_by;
	}
	public Timestamp getModified_on() {
		return modified_on;
	}
	public void setModified_on(Timestamp modified_on) {
		this.modified_on = modified_on;
	}
	public List<ElectricityProjectLine> getLines() {
		return lines;
	}
	public void setLines(List<ElectricityProjectLine> lines) {
		this.lines = lines;
	}
	public String getCustomer_name() {
		return customer_name;
	}
	public void setCustomer_name(String customer_name) {
		this.customer_name = customer_name;
	}
	public Short getStatus_() {
		return status_;
	}
	public void setStatus_(Short status_) {
		this.status_ = status_;
	}
	public String getContact_person() {
		return contact_person;
	}
	public void setContact_person(String contact_person) {
		this.contact_person = contact_person;
	}
	public String getContact_telphone() {
		return contact_telphone;
	}
	public void setContact_telphone(String contact_telphone) {
		this.contact_telphone = contact_telphone;
	}
	public String getDesign_file_id() {
		return design_file_id;
	}
	public void setDesign_file_id(String design_file_id) {
		this.design_file_id = design_file_id;
	}
     
	
}
